package com.xiaofeng.auth.application.convert;

import com.xiaofeng.auth.application.dto.AuthPermissionDTO;
import com.xiaofeng.auth.application.dto.AuthRolePermissionDTO;
import com.xiaofeng.auth.domain.entity.AuthPermissionBO;
import com.xiaofeng.auth.domain.entity.AuthRolePermissionBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @Author: chc
 * @Date: 2024/02/10/20:01
 * @Description: 角色权限关系dto转换器
 */
@Mapper
public interface AuthRolePermissionDTOConverter {

    AuthRolePermissionDTOConverter INSTANCE = Mappers.getMapper(AuthRolePermissionDTOConverter.class);

    AuthRolePermissionBO convertDTOToBO(AuthRolePermissionDTO authRolePermissionDTO);
}
